def find_header(buf, header):
    return buf.index(header)


print(find_header('asdf','dkf'))

